import {
  SET_HOTEL_DATE,
  SET_HOTEL_CITY
} from '../constants/hotel'

export const setHotelDate = (checkInDate, checkOutDate) => {
  return {
    type: SET_HOTEL_DATE,
    payload: {
      checkInDate,
      checkOutDate
    }
  }
}
export const setHotelCity = (city) => {
  return {
    type: SET_HOTEL_CITY,
    payload: {
      city
    }
  }
}